export const courseRoutes: RouteRecordRaw[] = [
  {
    path: '/courses',
    name: 'course-center',
    component: () => import('../views/course/CourseCenterView.vue'),
    meta: {
      title: '心理课程中心',
    },
  },
  {
    path: '/courses/browse',
    name: 'course-browse',
    component: () => import('../views/course/CourseBrowseView.vue'),
    meta: {
      title: '心理课程浏览',
    },
  },
  {
    path: '/courses/:courseId/detail',
    name: 'course-detail',
    component: () => import('../views/course/CourseDetailView.vue'),
    meta: {
      title: '课程详情',
    },
  },
  {
    path: '/courses/:courseId/learn',
    name: 'course-learn',
    component: () => import('../views/course/CourseLearnView.vue'),
    meta: {
      title: '课程学习',
    },
  },
    {
        path:'/courses/manager',
        name:'course-manager',
        component: () => import('../views/course/CourseManagerView.vue'),
        meta:{
            title:'课程管理中心'
        }
    }
]
